<?php

use yii\db\Migration;

/**
 * Class m221106_134613_rename_date_signture_column_in_decree_table
 */
class m221106_134613_rename_date_signture_column_in_decree_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->renameColumn('{{%decree}}', 'date_signture', 'date_signature');
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->renameColumn('{{%decree}}', 'date_signature', 'date_signture');
    }
}
